package com.sinoglobal.ningxia.beans;

import java.io.Serializable;
import java.util.List;

/**
 * Created by XINDZ on 2017/2/14.
 * 功能:
 */

public class LiveHomeBean implements Serializable {

    /**
     * code : 0
     * message : 成功
     * list : [{"id":929,"type":"reporter","title":"红枸杞测试员","stime":"2017/2/15 11:22:15","otime":"2017/2/15 11:22:39","url":"http://l1.stream.nxtv.com.cn/live/18513835640/index.m3u8","img":"","state":3,"time":1487128935},{"id":930,"type":"reporter","title":"强平测试","stime":"2017/2/15 19:00:00","otime":"2017/2/15 20:00:33","url":"http://l1.stream.nxtv.com.cn/live/15595113131/index.m3u8","img":"","state":3,"time":1487156400},{"id":943,"type":"tv","title":"宁夏新闻联播","stime":"2017/2/16 19:35:00","otime":"2017/2/16 20:00:00","url":"http://l1.stream.nxtv.com.cn/live/gg21/index.m3u8","img":"http://gd.nxtv.cn/upload/live/20170124/170149554955.jpg","state":2,"time":1487244900},{"id":944,"type":"tv","title":"今晚播报","stime":"2017/2/16 22:40:00","otime":"2017/2/16 23:00:00","url":"http://l1.stream.nxtv.com.cn/live/gg21/index.m3u8","img":"http://gd.nxtv.cn/upload/live/20170125/103424482448.jpg","state":2,"time":1487256000},{"id":945,"type":"tv","title":"新闻话题","stime":"2017/2/16 20:02:00","otime":"2017/2/16 20:15:00","url":"http://l1.stream.nxtv.com.cn/live/gg21/index.m3u8","img":"http://gd.nxtv.cn/upload/live/20170125/103962336233.jpg","state":2,"time":1487246520},{"id":946,"type":"tv","title":"宁夏新闻","stime":"2017/2/16 18:30:00","otime":"2017/2/16 18:55:00","url":"http://l1.stream.nxtv.com.cn/live/wsh21/index.m3u8","img":"http://gd.nxtv.cn/upload/live/20170125/104275417541.jpg","state":2,"time":1487241000},{"id":947,"type":"tv","title":"午间新闻","stime":"2017/2/16 12:00:00","otime":"2017/2/16 12:25:00","url":"http://l1.stream.nxtv.com.cn/live/gg21/index.m3u8","img":"http://gd.nxtv.cn/upload/live/20170125/104358825882.jpg","state":3,"time":1487217600},{"id":958,"type":"reporter","title":"信诺测试","stime":"2017/2/13 15:10:46","otime":"2017/2/13 15:17:27","url":"http://l1.stream.nxtv.com.cn/live/15801416999/index.m3u8","img":"","state":3,"time":1486969846}]
     * list1 : [{"id":"1","title":"as发生","stime":"1487248200.000000","content":"撒旦法十分","img":"/attachments/2017/02/148721459833566698c251c16e.jpg"}]
     * con : 1
     */

    private int code;
    private String message;
    private int con;
    private List<ListBean> list;
    private List<List1Bean> list1;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public int getCon() {
        return con;
    }

    public void setCon(int con) {
        this.con = con;
    }

    public List<ListBean> getList() {
        return list;
    }

    public void setList(List<ListBean> list) {
        this.list = list;
    }

    public List<List1Bean> getList1() {
        return list1;
    }

    public void setList1(List<List1Bean> list1) {
        this.list1 = list1;
    }

    public static class ListBean implements Serializable {

        /**
         * id : 943
         * type : tv
         * title : 宁夏新闻联播
         * stime : 2017/2/17 19:35:00
         * otime : 2017/2/17 20:00:00
         * url : http://l1.stream.nxtv.com.cn/live/gg21/index.m3u8
         * img : http://gd.nxtv.cn/upload/live/20170124/170149554955.jpg
         * pic : http://gd.nxtv.cn/upload/live/20170124/170149554955.jpg
         * owner : null
         * intro :
         * state : 2
         * time : 1487331300
         * sums : 0
         */

        private int id;
        private String type;
        private String reporter;
        private String name;
        private String title;
        private String stime;
        private String otime;
        private String url;
        private String img;
        private String pic;
        private String logo;
        private String owner;
        private String intro;
        private int state;
        private String time;
        private int sums;

        public String getReporter() {
            return reporter;
        }

        public void setReporter(String reporter) {
            this.reporter = reporter;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getLogo() {
            return logo;
        }

        public void setLogo(String logo) {
            this.logo = logo;
        }

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getType() {
            return type;
        }

        public void setType(String type) {
            this.type = type;
        }

        public String getTitle() {
            return title;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        public String getStime() {
            return stime;
        }

        public void setStime(String stime) {
            this.stime = stime;
        }

        public String getOtime() {
            return otime;
        }

        public void setOtime(String otime) {
            this.otime = otime;
        }

        public String getUrl() {
            return url;
        }

        public void setUrl(String url) {
            this.url = url;
        }

        public String getImg() {
            return img;
        }

        public void setImg(String img) {
            this.img = img;
        }

        public String getPic() {
            return pic;
        }

        public void setPic(String pic) {
            this.pic = pic;
        }

        public String getOwner() {
            return owner;
        }

        public void setOwner(String owner) {
            this.owner = owner;
        }

        public String getIntro() {
            return intro;
        }

        public void setIntro(String intro) {
            this.intro = intro;
        }

        public int getState() {
            return state;
        }

        public void setState(int state) {
            this.state = state;
        }

        public String getTime() {
            return time;
        }

        public void setTime(String time) {
            this.time = time;
        }

        public int getSums() {
            return sums;
        }

        public void setSums(int sums) {
            this.sums = sums;
        }
    }

    public static class List1Bean implements Serializable {
        /**
         * id : 1
         * title : as发生
         * stime : 1487248200.000000
         * content : 撒旦法十分
         * img : /attachments/2017/02/148721459833566698c251c16e.jpg
         */

        private String id;
        private String title;
        private long stime;
        private String content;
        private String img;

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getTitle() {
            return title;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        public long getStime() {
            return stime;
        }

        public void setStime(long stime) {
            this.stime = stime;
        }

        public String getContent() {
            return content;
        }

        public void setContent(String content) {
            this.content = content;
        }

        public String getImg() {
            return img;
        }

        public void setImg(String img) {
            this.img = img;
        }
    }
}
